package com.ting.rss.util;

import android.app.ProgressDialog;
import android.content.Context;

public class DialogUtil {
	private static ProgressDialog dialog;
	public static void showDownloadDialog(Context context,String title,String msg){
		dialog = new ProgressDialog(context);
		dialog.setTitle(title);
		dialog.setMessage(msg);
		dialog.show();
	}
	
	public static void cancelDownloadDialog(){
		dialog.cancel();
	}
}
